<template>
  <div class="common-layout">
    <el-container>
      <el-header>
        <el-row :gutter="20">
          <el-col :span="4"
            ><img class="logo" src="@/assets/logo.png" alt=""
          /></el-col>
          <el-col :span="16"> <h2>后台管理系统</h2></el-col>
          <el-col :span="4" class="btn-text">
            <el-button type="primary">退出</el-button></el-col
          >
        </el-row>
        <div></div
      ></el-header>
      <el-container>
        <el-aside width="200px">Aside</el-aside>
        <el-main>Main</el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script lang="ts">
import { defineComponent } from "vue";

export default defineComponent({
  name: "HomeView",
  components: {},
});
</script>

<style lang="scss" scoped>
.logo {
  height: 80px;
}
h2 {
  text-align: center;
  line-height: 80px;
}
.btn-text {
  text-align: right;
  height: 80px;
  line-height: 80px;
}
.el-header {
  background: #545c64;
}
</style>
